<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/5/12/012
 * Time: 9:23
 */

namespace app\index\interfaceIn;


use app\Lib\InterfaceIn\Api\Api;
use app\Lib\Ioc\Order\OrderOption;

class getMyOrderLog extends Common implements Api
{
    /**
     * @return mixed
     * @throws \app\Lib\Exception\BlException
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     */
    public function handle()
    {
        $model = (new OrderOption())->getMyOrderLog($this->param->postData);
        return $this->returnCreate($model);
    }

    public function check()
    {
        return true;
    }

}